Skip to content

Port Pipenv pythonfinder behavior upstream#167

Merged
matteius merged 1 commit into
masterfrom
fix/pipenv-pythonfinder-behavior
Jun 9, 2026
Merged

Port Pipenv pythonfinder behavior upstream#167
matteius merged 1 commit into
masterfrom
fix/pipenv-pythonfinder-behavior

Conversation

@matteius

@matteius matteius commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add Finder(pyenv_only=True) so callers can restrict discovery to pyenv-managed interpreters
  • treat any Path.exists() OSError as an inaccessible path during discovery, matching Pipenv's vendored fix for FUSE/network mount edge cases
  • add focused tests and towncrier fragments for both behaviors

Local checks

  • PYTHONPATH=src pytest -ra tests/
  • /tmp/pythonfinder-ci312/bin/tox -e py312
  • /tmp/pythonfinder-release-venv/bin/python -m build && /tmp/pythonfinder-release-venv/bin/twine check dist/*

@matteius matteius merged commit dfd2316 into master Jun 9, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant